﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _05._03.NextLetter
{
    class Program
    {
        static void Main(string[] args)
        {
            string alphabet = "abcdefghijklmnopqrstuvwxyz";
            char constLetter = 'n';

            Console.Write("Enter your word: ");
            string input = Console.ReadLine();

            string result = string.Empty;

            foreach (char letter in input)
            {
                int currentLetter = alphabet.IndexOf(letter);
                int nextIndex = (currentLetter + 1) % alphabet.Length;

                result += alphabet[nextIndex];
            }

            Console.WriteLine(result);

        }
    }
}
